From 16e23b02c2f1a7a8d7e5a7c37d717f436ae727d2 Mon Sep 17 00:00:00 2001 From: "kaf24@firebug.cl.cam.ac.uk" Date: Mon, 13 Jun 2005 22:48:36 +0000 Subject: [PATCH] bitkeeper revision 1.1713.1.5 (42ae0d44bPpuSBR0o475OuEOeDlNPg) Fix xs Python module for Python <2.3. Signed-off-by: Keir Fraser --- tools/python/xen/lowlevel/xs/xs.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/python/xen/lowlevel/xs/xs.c b/tools/python/xen/lowlevel/xs/xs.c index 6ecddc6fd4..0da0fbcb3e 100644 --- a/tools/python/xen/lowlevel/xs/xs.c +++ b/tools/python/xen/lowlevel/xs/xs.c @@ -14,9 +14,9 @@ */ /* Needed for Python versions earlier than 2.3. */ -//#ifndef PyMODINIT_FUNC -//#define PyMODINIT_FUNC DL_EXPORT(void) -//#endif +#ifndef PyMODINIT_FUNC +#define PyMODINIT_FUNC DL_EXPORT(void) +#endif #define PYPKG "xen.lowlevel.xs" -- 2.30.2